<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>表单案例02</title>
	</head>
	<body>
		<table border width="600">
			<tr>
				<td>用户名:</td>
				<td><input type="text" name="username" placeholder="请输入文本..."></td>
			</tr>
			<tr>
				<td>密码：</td>
				<td><input type="password" name="password" placeholder="请输入密码..."></td>
			</tr>
			<tr>
				<td>确认密码:</td>
				<td><input type="password" name="pwded" placeholder="请输入密码..."></td>
			</tr>
			<tr>
				<td>验证码:</td>
				<td><input type="text" name="code" placeholder="请输入验证码"></td>
			</tr>
			<tr>
				<td>性别：</td>
				<td><input type="radio" name="sex" value="0" checked="checked">男<input type="radio" name="sex" value="1">女</td>
			</tr>
			<tr>
				<td>年龄</td>
				<td><input type="text" name="age" placeholder="请输入年龄..."></td>
			</tr>
			<tr>
				<td>爱好</td>
				<td>
					<select>
						<option value ="0">请选择爱好</option>
						<option value="book">爱看书</option>
						<option value="douyin">刷抖音</option>
						<option value="code">敲代码</option>
					</select>
				</td>
			</tr>
			<tr>
				<td>你喜欢的游戏</td>
				<td>
					<input type="checkbox" value="0" name="gname">穿越火线
					<input type="checkbox" value="1" name="gname" checked>英雄联盟
					<input type="checkbox" value="2" name="gname">逆战
					<input type="checkbox" value="3" name="gname">守望
					<input type="checkbox" value="4" name="gname">先锋
				</td>
			</tr>
			<tr>
				<td>邮箱：</td>
				<td><input type="text" placeholder="请输入邮箱" name="email">@qq.com</td>
			</tr>
			<tr>
				<td>密码:</td>
				<td><input type="password" name="password" placeholder="请输入密码..."></td>
			</tr>
			<tr>
				<td><input type="submit" value="提交"></td>
				<td><input type="reset" value="重置" /></td>
			</tr>
		</table>
	</body>
</html>
